﻿using DotNetCore.CAP;

namespace TK.Common.Sample.Subsribe
{
    public class TestService : ITestService, ICapSubscribe
    {
        [CapSubscribe("test.msg")]
        public Task AddAsync(string msg)
        {
            return Task.CompletedTask;
        }
    }
}
